package yijy.extendsExample1;

/**
 * Created by yijy on 2017/6/7.
 */
public abstract class A {
    public void test(){
        System.out.println("A is mine");
    }

    private void test1(){
        System.out.println("A is private");
    }
    public static void main(String[] args) {
        A a = new B();
        a.test();
    }
}
